const Router = require('koa-router')
const User = require('../../controller/user')

const router = new Router({
    prefix: '/api/user'
})

router.get('/list', User.getUserList)
router.post('/register', User.createUser)

module.exports = router